﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoolCode.Web.Mvc.UI.Grid 
{
    public  class PagerModel:IPagerModel 
    {
        #region IPagerModel Members

        public IPagerRenderer Renderer { get; set; }

        public IDictionary<string, string> Attributes { get; set; }

        public string UpdateTarget { get; set; }

		public Action<Pager> PagerAction { get; set; }

        public IPageable DataSource { get; set; }
        #endregion

        public PagerModel()
        {
            Renderer = new PagerRenderer();
			PagerAction = c => { };
        }
    }
}
